package com.mis.geoEncryption.model.connect;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;

public interface IConnector {
	/**
	 * get the connection object
	 * @return connection
	 */
	public Connection getConnection();
	
	/**
	 * run the sql
	 * @return result set.
	 */
	public ResultSet runSql(String sql) throws SQLException;
}
